package com.xhu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhu.common.vo.SaleperformVo;
import com.xhu.pojo.Dept;
import com.xhu.pojo.Saleperform;

import java.util.List;

public interface ISaleperformService extends IService<Saleperform> {


    IPage<SaleperformVo> getAll(int current, int size);

    IPage<SaleperformVo> getAllByName(int current, int size, String name);

    List<Dept> getAllDepts();

    void deleteById(String id);

    void insertOne(SaleperformVo vo);

    void update(SaleperformVo vo);
}
